package com.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 以后在springboot中，就算是web案例也是main进行启动！！
 *
 * 以后得springboot中的代码必须写在启动类所在的包（com.itheima）下
 *
 * 底层原理：springboot底层默认@ComponentScan("com.itheima")
 */
@SpringBootApplication
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}
